package com.edu.controller;

import com.edu.service.UserService;
import org.springframework.stereotype.Controller;

import javax.annotation.Resource;

/**
 * @Author:何包蛋
 * @Date :2022/10/30 - 10 - 30 - 13:30
 */
@Controller
public class UserController {
    @Resource
    private UserService userService;

    public void login(){
        System.out.println("执行了UserController 的login 方法");
        userService.loginService();
    }
}
